package com.examsystem.util;

import java.util.concurrent.ScheduledFuture;

/**
 * @author fire'ge
 */
public class ScheduledUtils {
    public static void  cancelTask(ScheduledFuture<?> future) {
        if (null != future) {
            future.cancel(true);
        }
    }
}
